<?php

declare (strict_types = 1);

namespace app\common\model\system;

use app\common\model\BaseModel;

class SysConfigGroup extends BaseModel
{
    protected $name = 'sys_config_group';

    // 关联配置项
    public function configs()
    {
        return $this->hasMany(sysConfig::class, 'group_id', 'id');
    }
}